package com.demo.provider.dao;

import com.demo.entity.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface DeptDao {

    boolean add(Dept dept);

    Dept get(Long id);

    List<Dept> list();
}
